package cn.his.doctor.controller;

import cn.his.user.feign.UserFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestFeignController {

    @Autowired
    private UserFeign userFeign;



    @GetMapping("/hi")
    public String sayHi(){
        return userFeign.sayHi();
    }

}
